package com.feign;



import com.responseData.R;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@org.springframework.cloud.openfeign.FeignClient(contextId = "sysUser",name="userservice")
public interface CommonFeignClient {
    @GetMapping(value = "/user/getById/{userId}" ,produces = MediaType.APPLICATION_JSON_VALUE)
    public R getUserInfoById(@PathVariable String userId);

}
